/*
 * Copyright (C) 2020 The LINN Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */

package com.juqimiao.linn.domain;

import org.springframework.stereotype.Component;

/**
 * 构建一个{@link ValueObject}的工厂类。
 *
 *<p>由于Value Object是不可变的，因此，Factory所生成的对象就是最终形式。因此Factory操作必须得到被常见对象的完整描述。
 * 通常情况下要重建一个Value Object需要在Factory中带入一定的前置条件（标识）</p>
 *
 * @param <T> 任意继承于{@link ValueObject}的类型。
 *
 * @author Collin Cai
 */

@Component
public abstract class ValueObjFactory<T extends ValueObject> {

}
